package com.wskj.library.pojo;

import java.io.Serializable;

import java.util.Date;

/**
 * UserInfo 实体类
 * 2018-03-22 T148
 */ 
public class UserInfo implements Serializable{
	private static final long serialVersionUID = 1L;
	private int uid;         //用户编号  
	private String uname;   //名称
	private String sex;    //性别
	private Date birthday;  //生日
	private String address; //住址 
	private double deposite; //押金   200元可以借出6本      100元可以借出3本
	private Date registerTime;  // 注册时间 
	private Date effectTime;   // 有效时间 
	private String account; //账号
	private String pass;   //密码             默认新增初识密码是123456
	private byte locked;  //0 冻结     1 正常       
	private int borrowNumber;//借出书籍的数量  新增默认的是1,每次借书数量增加1个  
	
	
	public void setUid(int uid){
	this.uid=uid;
	}
	
	public int getUid(){
		return uid;
	}
	public void setUname(String uname){
	this.uname=uname;
	}
	public String getUname(){
		return uname;
	}
	public void setSex(String sex){
	this.sex=sex;
	}
	public String getSex(){
		return sex;
	}
	public void setBirthday(Date birthday){
	this.birthday=birthday;
	}
	public Date getBirthday(){
		return birthday;
	}
	public void setAddress(String address){
	this.address=address;
	}
	public String getAddress(){
		return address;
	}
	public void setDeposite(double deposite){
	this.deposite=deposite;
	}
	public double getDeposite(){
		return deposite;
	}
	public void setRegisterTime(Date registerTime){
	this.registerTime=registerTime;
	}
	public Date getRegisterTime(){
		return registerTime;
	}
	public void setEffectTime(Date effectTime){
	this.effectTime=effectTime;
	}
	public Date getEffectTime(){
		return effectTime;
	}
	public void setAccount(String account){
	this.account=account;
	}
	public String getAccount(){
		return account;
	}
	public void setPass(String pass){
	this.pass=pass;
	}
	public String getPass(){
		return pass;
	}
	public void setLocked(byte locked){
	this.locked=locked;
	}
	public byte getLocked(){
		return locked;
	}
	public void setBorrowNumber(int borrowNumber){
	this.borrowNumber=borrowNumber;
	}
	public int getBorrowNumber(){
		return borrowNumber;
	}
}

